/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.sys.entity.currency;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 系统反馈Entity
 * @author 李欣荣
 * @version 2018-09-30
 */
public class HkUserFeedbackImg extends DataEntity<HkUserFeedbackImg> {
	
	private static final long serialVersionUID = 1L;
	private HkUserFeedback feedback;		// 反馈id 父类
	private String imgSrc;		// 图片
	
	public HkUserFeedbackImg() {
		super();
	}

	public HkUserFeedbackImg(String id){
		super(id);
	}

	public HkUserFeedbackImg(HkUserFeedback feedback){
		this.feedback = feedback;
	}

	@Length(min=0, max=32, message="反馈id长度必须介于 0 和 32 之间")
	public HkUserFeedback getFeedback() {
		return feedback;
	}

	public void setFeedback(HkUserFeedback feedback) {
		this.feedback = feedback;
	}
	
	@Length(min=0, max=100, message="图片长度必须介于 0 和 100 之间")
	public String getImgSrc() {
		return imgSrc;
	}

	public void setImgSrc(String imgSrc) {
		this.imgSrc = imgSrc;
	}
	
}